From b932505fc7dff2282460cc41fb744dc1bf96d837 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Fri, 24 Nov 2006 21:08:24 +0000 Subject: [PATCH] ISO C fix. --- pcx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcx.c b/pcx.c index 3b75de0f0..7e77c2d73 100644 --- a/pcx.c +++ b/pcx.c @@ -256,8 +256,9 @@ data_read(void) // where our other columns start. case 'F': { int col; - sym_col = 0; char *i = ibuf; + sym_col = 0; + for (col = 0, i = ibuf; *i; col++, i++) { if (0 == case_ignore_strncmp(i, "comment", 7)) { comment_col = col; -- 2.30.2